<html>
<div id="page" />
<canvas id='a' width="300" height="300"></canvas>
<br/>


<script type="text/javascript" src="/site_media/jquery-1.4.3.js" >
</script>

<script type="text/javascript" src="/site_media/graphics.js" >
</script>


<script type="text/javascript" src="/site_media/bibleGraphics.js" >
</script>
<script type="text/javascript">
//function StartMe(){

  var xmlhttp=new XMLHttpRequest()
  var reqStr = "/bible/verse?book="
  reqStr = reqStr + parseInt(1);
  reqStr = reqStr+ "&chapter=1&verse=1";

  var ol = "/bible/verse?book=1&chapter=1&verse=1";
  xmlhttp.open("GET",reqStr,false);
  xmlhttp.send();
  var b_canvas = document.getElementById("a");
	b_canvas.width = $(window).width();

  var text=xmlhttp.responseText;
//	textDemo(b_canvas,'Leviticus').draw();
	var tsc = new TextSearchContext(b_canvas,'');
	tsc.textSearch();
//}
</script>
</html>

